package com.blb.exam.student.service.impl;

import com.blb.exam.common.entity.Quetion;
import com.blb.exam.student.dao.QuetionDAO;
import com.blb.exam.student.service.QuetionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class QuetionServiceImpl implements QuetionService {

    @Autowired
    private QuetionDAO quetionDAO;

    @Override
    public List<Quetion> findByQuetionSetId(int setId) {
        return quetionDAO.selectByQuetionSetId(setId);
    }
}
